package com.cbg.archives.entity;

import com.shuyuwl.core.domain.AbstractBaseDomain;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 档案分类模块展示列
 *
 * @author wangjuzheng
 * @since 2019-10-16
 */
@Data
@Entity
@Table(name = "es_archives_modular_col")
@EqualsAndHashCode(callSuper = true)
public class EsArchivesModularCol extends AbstractBaseDomain implements Serializable {

	/**
	 * 模块ID
	 */
	@Column(name = "modular_id")
	private Long modularId;

	/**
	 * 显示列ID
	 */
	@Column(name = "col_id")
	private Long colId;

	/**
	 * 排序
	 */
	@Column(name = "sort")
	private Integer sort;

	/**
	 * 展示样式
	 */
	@Column(name = "style")
	private String style;

	/**
	 * 列名
	 */
	@Column(name = "col_name")
	private String colName;
}
